<?php
class Actividade extends AppModel {

	var $name = 'Actividade';
	var $validate = array(
		'nombre' => array('notempty'),
		'finicio' => array('date'),
		'ffin' => array('date'),
		'ciclo_id' => array('numeric')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'Ciclo' => array(
			'className' => 'Ciclo',
			'foreignKey' => 'ciclo_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

}
?>